# $Id: Makefile 2614 2008-10-27 00:38:37Z azummo-google@towertech.it $

TOP =		../..
SUBDIR =	include/pconn

HEADERS =	PConnection.h \
		netsync.h \
		cmp.h \
		dlp.h \
		dlp_cmd.h \
		dlp_rpc.h \
		padp.h \
		palm_errno.h \
		palm_types.h \
		pconn.h \
		slp.h \
		util.h \
		spc_client.h

DISTFILES =	Makefile \
		${HEADERS}

DISTCLEAN =	spc.h

all::		spc.h

include ${TOP}/Make.rules

# "spc.h" is a symlink because "coldsync" and "libpconn" are conceptually
# separate packages, but "spc.h" is used in both. But I don't want to
# maintain two identical copies of the same file. However, CVS doesn't
# handle symlinks, so instead we create it here.
${RECURSIVE_TARGETS}::

spc.h:
	ln -s ${TOP}/src/spc.h spc.h

install::	${HEADERS} spc.h
	${MKDIR} ${DESTDIR}/${INCLUDEDIR}/pconn
	${INSTALL_DATA} ${HEADERS} spc.h ${DESTDIR}/${INCLUDEDIR}/pconn

# This is for Emacs's benefit:
# Local Variables:	***
# fill-column:	75	***
# End:			***
